export default {
  path: '/recruitment',
  name: 'recruitment',
  icon: 'UserOutlined',
  authority: [],
  component: './Recruitment',
  routes: [
    {
      path: '/recruitment',
      redirect: '/recruitment/information',
    },
    // 招聘信息
    {
      path: '/recruitment/information',
      name: 'information',
      icon: '',
      component: './Recruitment/Information',
      // 路由菜单中不展示
      // hideInMenu: true,
      hideChildrenInMenu: true,
      routes: [
        // 创建职位
        {
          path: '/recruitment/information/createposition',
          name: 'createposition',
          icon: '',
          component: './Recruitment/Information/CreatePosition',
        },
        // 职位详情
        {
          path: '/recruitment/information/positionDetail',
          name: 'positionDetail',
          icon: '',
          component: './Recruitment/Information/PositionDetail',
        },
        // 招聘信息详情
        {
          path: '/recruitment/information/recruitmentDetail',
          name: 'recruitmentDetail',
          icon: '',
          component: './Recruitment/Information/RecruitmentDetail',
          routes: [
            {
              // 面试邀约
              path: '/recruitment/information/recruitmentDetail/invitation',
              name: 'invitation',
              icon: '',
              component: './Recruitment/Information/RecruitmentDetail/Invitation',
            },
          ],
        },
      ],
    },
    // 面试记录
    {
      path: '/recruitment/interview',
      name: 'interview',
      icon: '',
      component: './Recruitment/Interview',
      hideChildrenInMenu: true,
      routes: [
        // 发送短信
        {
          path: '/recruitment/interview/sendMessage',
          name: 'sendmessage',
          icon: '',
          component: './Recruitment/Interview/SendMessage',
        },
      ],
    },
    // 招聘网站
    {
      path: '/recruitment/website',
      name: 'website',
      icon: '',
      component: './Recruitment/Website',
    },
  ],
};
